local hx__longgu = fk.CreateSkill{
    name = "hx__longgu",

    tags = {},
}

hx__longgu:addEffect(fk.DamageInflicted,{
    can_trigger = function (self, event, target, player, data)
        return player:hasSkill(hx__longgu.name) and target and target == player
    end,
    on_cost = function (self, event, target, player, data)
        return player.room:askToSkillInvoke(player,{skill_name = hx__longgu.name , prompt = "#hx__longgu__evoke"})
    end,
    on_use = function (self, event, target, player, data)
        local room = player.room
        for _, v in ipairs(room.alive_players) do
            room:loseHp(v,1,hx__longgu.name)
        end
        data:preventDamage()
    end,
})


return hx__longgu